﻿// <copyright file="TransieverDisconnectedEventArgs.cs" company="Hallvard Korsgaard">
//  Microsoft Public License (Ms-PL). See license details here: http://enoceannet.codeplex.com/license
// </copyright>
// <author>Hallvard Korsgaard</author>

namespace StcEthernet
{
  using System;

  /// <summary>
  ///  Provides data for the TransieverDisconnected event.
  /// </summary>
  public class TransieverDisconnectedEventArgs : EventArgs
  {
    /// <summary>
    /// Initializes a new instance of the TransieverDisconnectedEventArgs class.
    /// </summary>
    /// <param name="transiever">The transiever that connected.</param>
    internal TransieverDisconnectedEventArgs(Transiever transiever)
    {
      this.Transiever = transiever;
    }

    /// <summary>
    /// Gets the transiever that disconnected.
    /// </summary>
    public Transiever Transiever
    {
      get;
      private set;
    }
  }
}
